<ul nz-menu [nzMode]="'horizontal'">
  <li nz-menu-item>
    <a [routerLink]="['/home']"><i nz-icon type="home"></i>首页</a>
  </li>
  <li nz-menu-item>
    <a [routerLink]="['/directory']"><i nz-icon type="bars"></i>目录页</a>
  </li>
   <li nz-menu-item class="login">
    <a [routerLink]="['/directory']"><i nz-icon type="android"></i>登录</a>
  </li>
</ul>
